OrderablePartitioner(TSource) Constructor

Task Parallel System.Threading

Initializes a new instance of the OrderablePartitioner<(Of <(TSource>)>) class with the specified constraints on the index keys.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Protected Sub New ( _
	keysOrderedInEachPartition As Boolean, _
	keysOrderedAcrossPartitions As Boolean, _
	keysNormalized As Boolean _
)
C#
protected OrderablePartitioner(
	bool keysOrderedInEachPartition,
	bool keysOrderedAcrossPartitions,
	bool keysNormalized
)

Parameters

keysOrderedInEachPartition
Type: System..::.Boolean
Indicates whether the elements in each partition are yielded in the order of increasing keys.
keysOrderedAcrossPartitions
Type: System..::.Boolean
Indicates whether elements in an earlier partition always come before elements in a later partition. If true, each element in partition 0 has a smaller order key than any element in partition 1, each element in partition 1 has a smaller order key than any element in partition 2, and so on.
keysNormalized
Type: System..::.Boolean
Indicates whether keys are normalized. If true, all order keys are distinct integers in the range [0 .. numberOfElements-1]. If false, order keys must still be dictinct, but only their relative order is considered, not their absolute values.

See Also